﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Faust.Andrew.MTG.Player.JoinGameConfigurationControl"
	x:Name="UserControl" MinWidth="200" Foreground="White"
	>

	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>

		<StackPanel x:Name="LayoutRoot" Margin="0">
			<Label Content="Name:" Foreground="White"/>
			<TextBox x:Name="txtName" TextWrapping="Wrap"/>
			<Label x:Name="lblHost" Content="Host:" Foreground="White"/>
			<TextBox x:Name="txtHost" Text="localhost" TextWrapping="Wrap"/>
			<Label x:Name="lblPort" Content="Port:" Foreground="White"/>
			<TextBox x:Name="txtPort" Text="4200" TextWrapping="Wrap"/>
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto"/>
					<ColumnDefinition Width="*"/>
				</Grid.ColumnDefinitions>
				<Label Content="Deck" Margin="0" Grid.ColumnSpan="1" Foreground="White"/>
				<CheckBox x:Name="chkRejoin" Margin="0" Content="Rejoin" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" Visibility="Collapsed"/>
			</Grid>
		</StackPanel>
		<ListBox x:Name="lbDeck" Margin="0" Grid.Row="1" Height="300"/>
	</Grid>
</UserControl>